package com.heshan.bank.controller;

import com.sxbbc.common.basics.enums.ResponseEnums;
import com.sxbbc.common.basics.rest.RestResponse;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author LQY
 * @Date 2020/9/2
 * @package com.heshan.bank.controller
 * @project jznm_online
 * @description 测试接口
 */

@RestController
public class TestController {

    @ApiOperation(value = "测试接口",notes = "测试接口")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "param",value = "测试参数",readOnly = false)
    })
    @RequestMapping(value = "/testFun",method = RequestMethod.GET)
    public RestResponse testFun(String param){
        System.out.println("参数param:"+param);
        return new RestResponse(ResponseEnums.SUCCESS);
    }
}
